package com.alit.face.koala.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.alit.face.koala.entity.KoalaEmpLoyeeEntity;

public interface KoalaEmployeeRepository extends JpaRepository<KoalaEmpLoyeeEntity, String> {

  @Query("select gender from KoalaEmpLoyeeEntity t where t.id=?1")
  int findGenderById(String id);
  @Query("select baiduGroupId from KoalaEmpLoyeeEntity t where t.id=?1")
  String getBaiduGroupId(String id);
}
